#include "mainmodedecrypt.h"

MainModeDecrypt::MainModeDecrypt(QObject *parent) : QObject(parent)
{

}
int MainModeDecrypt::decryptLicense(QString strLicense,QString &strNumOut,
                                    QString &strdataOut)
{
    //test
    ModeDecryptBase objDecrypt(ModeDecryptBase::E_ProgramModeType_MAIN);
    strLicense.replace("-","");
    strNumOut= objDecrypt.getNum(strLicense);
    strdataOut= objDecrypt.getDate(strLicense);
    return 0;
}
